package cn.ekuma.epos.toolcommand;

import cn.ekuma.rabbit.spi.I_Model;
import cn.ekuma.rabbit.spi.I_ModelPart;
import com.openbravo.pos.base.AppView;
import com.openbravo.pos.base.BeanFactoryException;

public abstract class AbstractCommand<T extends I_Model> implements I_Command ,I_ModelPart<T>{
	protected AppView app;
	T mode;
	@Override
	public void init(AppView app) throws BeanFactoryException {
		this.app=app;
	}
	@Override
	public void setModel(T mode) {
		this.mode=mode;
	}
}
